package xin.lhuo.we.server.entity;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author Lhuo
 * @date 2019/6/18 0:23
 */
@Data
public class Today {
    private Integer id;
    private Integer userId;
    private String wakeupTime;
    private Integer wakeupScore;
    private String sleepTime;
    private Integer sleepScore;
    private String studyTime;
    private Integer studyScore;
    private String readBookTime;
    private Integer readBookScore;
    private Integer exercise;
    private Integer mood;
    private Integer quarrel;
    private double expenditure;
    private String others;
    private Integer othersScore;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date today;
    private String role;
    private Integer totalScore;
}
